home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sacred & Secular
/
Sacred and Secular.iso
/
pc
/
movies
/
shared.dir
/
04839_Script__Cap2 frameCap2 frame.ls
< prev
next >
Wrap
Text File
|
1996-04-03
|
2KB
|
71 lines
global currentcast, popuptoggle
on exitframe
set theV = the mouseV
if popuptoggle then highlightbutton (thev)
else
-- set the visible of sprite 16 to false
-- set the visible of sprite 17 to false
checkghostrollover
planerollover1
set the visible of sprite 17 to rollOver(19)
end if
go the frame
end
on mouseDown
global holdComingFrom, comingFrom, popuptoggle
if popuptoggle then exit
if the doubleclick then dontpassevent
set h = the mouseH
--
--
-- Check for help... (Done here as the info is distributed in 100
-- files, at this point...)
--
if the visible of sprite 41 then
set the visible of sprite 41 = 0
doHelp
exit
end if
if the timer > 120 then
if h > 582 and the mouseV < 256 then
global globeicon,icon,visicon,timeicon, comingFrom
-- if icon = globeicon then turnoffmenu(comingFrom,1,0)
if icon = globeicon then turnoffmenu("global",1,0)
else if icon = visicon then
if comingFrom = 90 then
set loc = holdComingFrom
else
set loc = comingFrom
end if
turnoffmenu(loc,1,0)
else turnoffmenu("timeline",1,0)
exit
end if
if the mouseV < 440 and the mouseV > 0 then
if h < the left of sprite 3 then
swapPic(0,1)
else if h > the right of sprite 3 then
swapPic(1,1)
end if
end if
end if
end
on keyDown
if the keyCode = 123 then swapPic(0,1)
else if the keyCode = 124 then swapPic(1,1)
else pass
end